﻿@{
    var currentButtons = ViewData["CurrentPageButtons"] as List<GSLMS.Entity.VRolePurview>;
}
<div class="panelBar">
    <ul class="toolBar">
        @foreach (var item in currentButtons)
        {
            string LangType = Request["LangType"];
            var URL = item.Url.Replace("@LangType", LangType);
            <li><a class="@(item.CssClass ?? "add")" href='@URL?OpID=@item.ID&@item.ParmFormat.Trim()&LangType=@ViewData["LangType"]&DIVGUID=@Request["DIVGUID"]' target="@(item.Target ?? "navTab")" title="@item.Title" @(!string.IsNullOrEmpty(item.Warn) ? "Warn=" + item.Warn : string.Empty) rel="@item.ID" onclick="return @item.OnCilck" ref="@URL" callback="@item.CallBack">
                <span>@item.ModuleName</span></a></li>
        }
    </ul>
</div>
